package cn.yuhan.simplediary.system.service;

import cn.yuhan.simplediary.system.entity.User;

import java.util.List;

public interface UserService {
    User findByUsername(String username);

    void register(User user);

    List<User> findAllUsers();

    void disableUser(Long userId);
}